


#ifndef PF_FONTCHAR_H
#define PF_FONTCHAR_H

#include "pf_block.h"
#include "lx_Export.h"

/**
 * A character in a font is represented by this special block class.
 *

 */
class LX_EXPORT PF_FontChar : public PF_Block {
public:
    /**
     * @param parent The font this block belongs to.
     * @param name The name of the letter (a unicode char) used as 
     *        an identifier.
     * @param basePoint Base point (offset) of the letter (usually 0/0).
     */
    PF_FontChar(PF_Container* parent,
                const QString& name,
                PF_Vector basePoint)
            : PF_Block(parent, PF_BlockAttribute(name, basePoint, false)) {}

    virtual ~PF_FontChar() {}

    /** @return LX_Define::EntityFontChar */
    virtual LX_Define::EntityType rtti() const {
        return LX_Define::EntityFontChar;
    }


    /*friend std::ostream& operator << (std::ostream& os, const PF_FontChar& b) {
       	os << " name: " << b.getName().toLatin1() << "\n";
    	os << " entities: " << (PF_EntityContainer&)b << "\n";
       	return os;
}*/


protected:
};


#endif
